package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 评论对象 review
 * 
 * @author ruoyi
 * @date 2023-05-10
 */
public class Review extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 评论id */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long attractionsId;

    /** 评分(最高5分) */
    @Excel(name = "评分(最高5分)")
    private Long reviewAcore;

    /** 点评内容 */
    @Excel(name = "点评内容")
    private String reviewDetails;

    /** 点评图片 */
    @Excel(name = "点评图片")
    private String reviewImages;

    /** 出游类型(1、商务旅行 2、朋友出游  3、情侣出游  4、家庭亲子  5、单独旅行) */
    @Excel(name = "出游类型(1、商务旅行 2、朋友出游  3、情侣出游  4、家庭亲子  5、单独旅行)")
    private Long travelType;

    /** 游玩时长 */
    @Excel(name = "游玩时长")
    private String travelTime;

    /** 游览时长 */
    @Excel(name = "游览时长")
    private String travelDouration;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setAttractionsId(Long attractionsId) 
    {
        this.attractionsId = attractionsId;
    }

    public Long getAttractionsId() 
    {
        return attractionsId;
    }
    public void setReviewAcore(Long reviewAcore) 
    {
        this.reviewAcore = reviewAcore;
    }

    public Long getReviewAcore() 
    {
        return reviewAcore;
    }
    public void setReviewDetails(String reviewDetails) 
    {
        this.reviewDetails = reviewDetails;
    }

    public String getReviewDetails() 
    {
        return reviewDetails;
    }
    public void setReviewImages(String reviewImages) 
    {
        this.reviewImages = reviewImages;
    }

    public String getReviewImages() 
    {
        return reviewImages;
    }
    public void setTravelType(Long travelType) 
    {
        this.travelType = travelType;
    }

    public Long getTravelType() 
    {
        return travelType;
    }
    public void setTravelTime(String travelTime) 
    {
        this.travelTime = travelTime;
    }

    public String getTravelTime() 
    {
        return travelTime;
    }
    public void setTravelDouration(String travelDouration) 
    {
        this.travelDouration = travelDouration;
    }

    public String getTravelDouration() 
    {
        return travelDouration;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("attractionsId", getAttractionsId())
            .append("reviewAcore", getReviewAcore())
            .append("reviewDetails", getReviewDetails())
            .append("reviewImages", getReviewImages())
            .append("travelType", getTravelType())
            .append("travelTime", getTravelTime())
            .append("travelDouration", getTravelDouration())
            .toString();
    }
}
